#ifndef _LOG_H
#define _LOG_H

#include <iostream>
#include <fstream>
#include <string.h>
#include <ctime>

using std::string;

namespace LOG
{
    enum LogStatu{
        MSG = 0,
        WARNING = 1,
        ERROR = 2
    };

    string timeStamp();
    void logPrint(string msg, LogStatu statu);

    class LogSystem
    {
    private:
        std::ofstream p_outfile;
    public:
        LogSystem(){}
        void operator << (std::string);
    };
} 


#endif
